package com.erik.lin.domain;

import java.io.Serializable;

/**
 * Created by Erik on 2017/4/5.
 */
public class Animal implements Serializable {

    private int age;

    public Animal() {
    }

    private String gender;

    @Override
    public String toString() {
        return "Animal{" +
                "age=" + age +
                ", gender='" + gender + '\'' +
                '}';
    }

    public Animal(int age, String gender) {
        this.age = age;
        this.gender = gender;
    }

    public int getAge() {

        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}
